<script setup lang="ts">
import { onMounted } from 'vue'

defineProps<{ msg: string }>()

onMounted(() => {
  console.log('HelloWorld mounted')
})

</script>

<template>
  <div class="head">头部 {{ msg }}</div>
</template>

<style scoped>
.head {
  background: blue;
  color:#fff;
  padding:10px 10px;
}
</style>
